﻿@using CoralNode.MvcClient.Helper
@model CoralNode.Core.Entity.SearchQuerys.Site.MenuSearchQuery

@{
    ViewBag.Title = "Index";
}

@Html.IncludePage("CoralAdmin/prototype", "_Left",new{current="menu"})
<!--content-->
<div id="pbody">
    <div class="extra">
        <div class="pbody_top">
            <span class="ico ico_setting_system"></span><span class="t t_c">菜单设计&nbsp;&nbsp;/&nbsp;&nbsp;菜单组管理</span>
        </div>
        <div id="main">
            <div class="js_tabcnt">
                <div class="tablelist_style1" data-js="tabellist_style1">
                     <div class="funsearch p_1 pl_2 pr_2 extra_normal">
                         <a class="btn_5 f_r" href="/m/menu/createMenuGroup">添加组</a>
                         </div>
                    <table cellpadding="0" cellspacing="0">
                        <tr class="exclude">
                            <th width="60">选择</th>
                            <th width="50" align="left">ID</th>
                            <th align="left">名称</th>
                            <th>描述</th>
                            <th width="140">操作</th>
                        </tr>
                        @foreach (var item in @ViewBag.MenuGroupList)
                        {
                            <tr>
                                <td>
                                    <label class="checkbox_own">
                                        <input type="checkbox" value="@item.Id"/></label></td>
                                <td class="td_left">@item.Id</td>
                                <td class="td_left"><a href="/m/menu/editMenuGroup/@item.Id">@item.Title</a></td>
                                <td class="td_left">@item.Description</td>
                                <td>
                                    <div class="fun">
                                        <a href="/m/menu/editMenuGroup/@item.Id">编辑</a><a href="/m/menu/deleteMenuGroup/@item.Id" class="js_delete">删除</a>
                                    </div>
                                </td>
                            </tr>
                        }
                    </table>
                    <div class="global_fun ">
                        <label class="checkbox_own gloabal_select">
                            <input type="checkbox" /></label>
                        <input type="button" class="btn_4 btn invert" value="反选" /><input type="button" class="btn_4 btn reset"
                                                                                          value="重置" />
                        <a href="#" class="js_delete">删除</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
